@echo off
del /s /q .\msg_lua\*.*
cd .\proto\
::proto to lua  
for %%i in (*.proto) do (    
echo %%i  
	"..\protoc.exe" --plugin=protoc-gen-lua="..\protoc-gen-lua-master\plugin\protoc-gen-lua.bat" --lua_out=..\msg_lua\. %%i  
)  
echo end  
pause